package cars;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-11-22
 * Time: 17:35
 */

//Car类
public class Car extends Vehicle {

    public Car(String vehicleld, String brand, String type, int perRent) {
        super(vehicleld, brand, type, perRent);
    }

    @Override
    public String toString() {
        return "Car{" +
                "vehicleld='" + vehicleld + '\'' +
                ", brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", perRent=" + perRent +
                '}';
    }
}
